﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace Game
{
    public partial class GameEntry
    {
        public static SystemInfoComponent SystemInfo
        {
            get;
            private set;
        }
        public static QualityComponent Quality
        {
            get;
            private set;
        }
        public static MovieComponent Movie
        {
            get;
            private set;
        }
        public static BuiltinDataComponent BuiltinData
        {
            get;
            private set;
        }
        private static void InitCustomComponents()
        {
            SystemInfo = UnityGameFramework.Runtime.GameEntry.GetComponent<SystemInfoComponent>();
            Quality = UnityGameFramework.Runtime.GameEntry.GetComponent<QualityComponent>();
            Movie = UnityGameFramework.Runtime.GameEntry.GetComponent<MovieComponent>();
            BuiltinData = UnityGameFramework.Runtime.GameEntry.GetComponent<BuiltinDataComponent>();
        }
    }
}
